<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">账号</label>
            <div class="layui-input-block">
                <input type="text" name="username" class="layui-input" lay-verify="required" placeholder="请输入账号" value="{$row.username|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="text" name="password" class="layui-input" lay-verify="required" placeholder="请输入密码" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="nickname" class="layui-input" lay-verify="required" placeholder="请输入昵称" value="{$row.nickname|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" name="full_name" class="layui-input" lay-verify="required" placeholder="请输入真实姓名" value="{$row.full_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号码</label>
            <div class="layui-input-block">
                <input type="text" name="phone" class="layui-input" lay-verify="required" placeholder="请输入手机号码" value="{$row.phone|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-block">
                <input type="text" name="avatar" class="layui-input" lay-verify="required" placeholder="请输入头像" value="{$row.avatar|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-block">
                <input type="text" name="email" class="layui-input" lay-verify="required" placeholder="请输入邮箱" value="{$row.email|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">余额</label>
            <div class="layui-input-block">
                <input type="text" name="money" class="layui-input" lay-verify="required" placeholder="请输入余额" value="{$row.money|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">预扣余额</label>
            <div class="layui-input-block">
                <input type="text" name="fake_money" class="layui-input" lay-verify="required" placeholder="请输入预扣余额" value="{$row.fake_money|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">积分</label>
            <div class="layui-input-block">
                <input type="text" name="integral" class="layui-input" lay-verify="required" placeholder="请输入积分" value="{$row.integral|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户状态</label>
            <div class="layui-input-block">
                {if ($row.status == 1)}
                <input type="checkbox" checked="" name="status" class="layui-input" lay-skin="switch" lay-text="正常|禁止">
                {else /}
                <input type="checkbox" name="status" class="layui-input" lay-skin="switch" lay-text="正常|禁止">
                {/if}
<!--                <input type="text" name="status" class="layui-input" lay-verify="required" placeholder="请输入用户状态  1为正常，0为禁止" >-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">等级</label>
            <div class="layui-input-block">
                <input type="text" name="level" class="layui-input" lay-verify="required" placeholder="请输入等级" value="{$row.level|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">连续签到天数</label>
            <div class="layui-input-block">
                <input type="text" name="sign_sum" class="layui-input" lay-verify="required" placeholder="请输入连续签到天数" value="{$row.sign_sum|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">推广员id</label>
            <div class="layui-input-block">
                <input type="text" name="spread_uid" class="layui-input" lay-verify="required" placeholder="请输入推广员id" value="{$row.spread_uid|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否为会员</label>
            <div class="layui-input-block">
                {if ($row.is_member == 1)}
                <input type="checkbox" checked="" name="is_member" class="layui-input" lay-skin="switch" lay-text="是|否">
                {else /}
                <input type="checkbox" name="is_member" class="layui-input" lay-skin="switch" lay-text="是|否">
                {/if}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会员等级</label>
            <div class="layui-input-block">
                <input type="text" name="member_level" class="layui-input" lay-verify="required" placeholder="请输入会员等级" value="{$row.member_level|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">成为会员时间</label>
            <div class="layui-input-block">
                <input type="date" name="member_time" class="layui-input" lay-verify="required" placeholder="请输入成为会员时间" value="{$row.member_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会员过期时间</label>
            <div class="layui-input-block">
                <input type="date" name="overdue_time" class="layui-input" lay-verify="required" placeholder="请输入会员过期时间" value="{$row.overdue_time|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>